package com.inspur.ssm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.inspur.ssm.dao.UserDao;
import com.inspur.ssm.pojo.UserBean;

import com.inspur.ssm.service.UserService;

@Service("loginService")
public class UserServiceImpl implements UserService{
	
	@Autowired
	private UserDao loginDao;



	@Override
	public UserBean findManager(UserBean managerQuery) throws Exception {
		UserBean manager = loginDao.findManager(managerQuery);
		if(manager == null){
			throw new Exception("");
		}else{
			return manager;
		}
	}
}
